NLS([[local main = workspace:WaitForChild("cubicle"..string.reverse(owner.Name),4).main local size = 1 local grabbed = false local grabbed1 = false local rem = main.Parent.mainremote local cubern = false local cube=false workspace.CurrentCamera.CameraSubject = main local mouse = owner:GetMouse() local kc=Enum.KeyCode local pos=main.pos local lastpos=main.Position local uis = game:GetService("UserInputService") uis.InputBegan:connect(function(k,b) if b then return end k=k.KeyCode if k == kc.W then forward = true elseif k == kc.S then backward = true elseif k == kc.A then left = true elseif k == kc.D then right = true end if k == kc.R then if cubern==false then cube=not cube end elseif k == kc.F then grabbed = not grabbed rem:FireServer("le",mouse.Target) elseif k == kc.G then grabbed1 = not grabbed1 rem:FireServer("ri",mouse.Target) elseif k == kc.T then if cubern then lastpos=pos.Position end cubern = not cubern rem:FireServer("fa") if not cubern then pos.Position=lastpos end elseif k == kc.E then pos.Position = pos.Position + (main.CFrame.LookVector*18)*size/2 elseif k == kc.Z and size <= 75 and not cubern then size = math.min(75,size + .25) rem:FireServer("si",size) elseif k == kc.X and size >= 1 and not cubern then size = math.max(1,size - .25) rem:FireServer("si",size) elseif k == kc.P then rem:FireServer("hi") end end) uis.InputEnded:connect(function(k,a) if a then return end k=k.KeyCode if k == kc.W then forward = false elseif k == kc.S then backward = false elseif k == kc.A then left = false elseif k == kc.D then right = false end end) local leftarm = main.Parent.leftarm local rightarm = main.Parent.rightarm game:GetService"RunService".RenderStepped:Connect(function() if not main then return end leftarm.AssemblyAngularVelocity = Vector3.new(0,0,0) rightarm.AssemblyAngularVelocity = Vector3.new(0,0,0) if leftarm:FindFirstChild("pos")then if cube == false then leftarm.pos.Position = main.Parent.fakeleft1.Position rightarm.pos.Position = main.Parent.fakeright1.Position else leftarm.pos.Position = main.Position rightarm.pos.Position = main.Position end end if cubern == false then main:WaitForChild("gyr").CFrame = CFrame.new(main.Position,mouse.Hit.Position) baraba=(main.CFrame.LookVector*2)*(size/4) local cf=-main.CFrame.RightVector/2 if forward then pos.Position=pos.Position+baraba elseif backward then pos.Position=pos.Position-baraba end if left then pos.Position=pos.Position+cf elseif right then pos.Position=pos.Position-cf end end end) ]],owner.Backpack) --body,main local b = owner.Character.HumanoidRootPart.Position local inst=Instance.new local body = inst("Model") local cuby = inst("RemoteEvent",body)cuby.Name = "mainremote" body.Name = "cubicle"..string.reverse(owner.Name) local main = inst("Part") main.Position = b main.Size = Vector3.new(1.5,1.5,1.5) main.Color = Color3.new(0,0,0) main.Material = "SmoothPlastic" main.Name = "main" local main1 = inst("Part",main) main1.Size = Vector3.new(.5,.5,.5) main1.Color = Color3.new(1,1,1) main1.Name="pa" local mesh = inst("SpecialMesh",main1) mesh.Scale = Vector3.new(-3.2,-3.2,-3.2) mesh.MeshId = "rbxassetid://9856898" mesh.Name="me" mesh.VertexColor = Vector3.new(15,15,15) local weld = inst("Weld",main1) weld.Part0 = main1 weld.Part1 = main local copymain=main:Clone() local gyr = inst("BodyGyro",main) gyr.MaxTorque = Vector3.new(9e9,9e9,9e9) gyr.P = 9000 gyr.Name = "gyr" local posi = inst("BodyPosition",main) posi.MaxForce = Vector3.new(4e9,4e9,4e9) posi.Position = main.Position posi.P = 9000 posi.D = 550 posi.Name = "pos" -- --eyes and text local bil = inst("BillboardGui") bil.Size = UDim2.fromScale(6,1.25) bil.StudsOffsetWorldSpace = Vector3.new(0,3,0) local text = inst("TextLabel",bil) text.Size = UDim2.new(1,0,1,0) text.BackgroundTransparency = 1 text.Font = "Arcade" text.TextStrokeTransparency = 0 text.Text = owner.Name text.TextStrokeColor3 = Color3.new(1,1,1) text.TextScaled = true local chatbil=bil:Clone() chatbil.StudsOffsetWorldSpace=Vector3.new(0,2,0) local chtext=chatbil.TextLabel chtext.Text="" chatbil.Parent=main bil.Parent=main local eye = inst('Part',main) eye.Color=Color3.new(1,1,1) eye.Material = "Neon" eye.Size = Vector3.new(0.08,1,0.86) local mesh4 = inst("SpecialMesh",eye) mesh4.MeshType = "Sphere" mesh4.Scale = Vector3.new(.5,0.3,.7) local weld = inst("Weld",eye) weld.Part0 = eye weld.Part1 = main weld.C0 = CFrame.new(.75,0.35,0) * CFrame.Angles(0,1.57,1.57) local eye1=eye:Clone() eye1.Weld.Part0=eye1 eye1.Weld.C0=CFrame.new(.75,-0.35,0) * CFrame.Angles(0,1.57,1.57) eye1.Parent=main -- --left arm local armleft = copymain:Clone() local pa=armleft.pa pa.me.Scale=Vector3.new(-1.2,-1.2,-1.2) armleft.Size=Vector3.new(.5,.5,.5) armleft.Name = "leftarm" local weld=pa.Weld weld.Part1=armleft weld.C0 = CFrame.new(0,0,0) armleft.Parent=body local fakeleft1 = inst("Part",body) fakeleft1.Transparency = 1 fakeleft1.Name = "fakeleft1"fakeleft1.Size = Vector3.new(0.5,0.5,0.5) local weld = inst("Weld",fakeleft1) weld.Part0 = fakeleft1 weld.Part1 = main weld.C0 = CFrame.new(1.75,1,0) local pos = posi:Clone() pos.Parent=armleft -- --right arm local armright = armleft:Clone() local pa=armright.pa armright.Name = "rightarm" local weld=pa.Weld weld.Part1=armright armright.Parent=body local fakeright1 = fakeleft1:Clone() fakeright1.Parent=body fakeright1.Name = "fakeright1" fakeright1.Weld.C0 = CFrame.new(-1.75,1,0) local leftatt = inst("Attachment",main) leftatt.Position = Vector3.new(-2,-3,0) local rightatt = inst("Attachment",main) rightatt.Position = Vector3.new(2,-3,0) main.Parent=body for _,v in ipairs(body:GetDescendants()) do if v:IsA("BasePart") then v.Locked = true v.CanQuery=false v.CanCollide=false v.CanTouch=false end end owner.Character = nil print([[E to fast forward R to go cube only Z to grow,X to shorten T to sleep/die F to grab with left, G with right chat commands: clr/R,G,B - color outline and eyes (USE 255 VALUES!)]]) local bodypos,bodypos1 local cubern,deb=false,false local wait=task.wait tween=game:GetService("TweenService") local ti=TweenInfo.new(.25) body.Parent=workspace main:SetNetworkOwner(owner) armleft:SetNetworkOwner(owner) armright:SetNetworkOwner(owner) task.delay(2,function() body.Parent=script end) local leftbodypos local rightbodypos local left,right=false,false local att,att1 task.spawn(function() while task.wait()do main:SetNetworkOwner(owner) armleft:SetNetworkOwner(owner) armright:SetNetworkOwner(owner) end end) local chatdissapear,talkfunc=nil,nil local talking=false owner.Chatted:Connect(function(m) if string.sub(m,1,3)~="/e "then if talking then if chatdissapear then task.cancel(chatdissapear) end task.cancel(talkfunc) talking=false end talking=true local talkfunc=task.spawn(function() for i=1,#m do chtext.Text=string.sub(m,1,i) task.wait(.04) end game:GetService("TweenService"):Create(chtext,TweenInfo.new(3+#m/12,Enum.EasingStyle.Linear),{TextTransparency=1,TextStrokeTransparency=1}):Play() end) chatdissapear=task.delay(3.5+#m/12,function() chtext.Text="" talking=false chatdissapear=nil end) else if string.sub(m,4,7)=="clr/"then local colors=string.split(string.sub(m,8),",") for _,v in next,body:GetDescendants()do if v:IsA("SpecialMesh")then v.Parent.Color=Color3.fromRGB(colors[1],colors[2],colors[3]) end end end end end) local sizer=1 cuby.OnServerEvent:connect(function(who,...) local args={...} local which=args[1] if (which=="le" or which=="ri")and not cubern then if which=="le"then if left==true then left=false leftbodypos:Destroy() att:Destroy() return end else if right==true then right=false rightbodypos:Destroy() att1:Destroy() return end end local where=args[2] if not where then return end local where1=where.Parent local isle=which=="le" --body:SetAttribute(which,where)--le, ri attributes local where2=where:FindFirstChild("HumanoidRootPart") if isle then left=true else right=true end if isle then att = inst("Attachment",where) att.Name = which.."bar" else att1 = inst("Attachment",where) att1.Name = which.."bar" end local hand = inst("AlignPosition",(if where2 then where2 else where)) hand.Attachment0 = (if isle then att else att1) hand.Attachment1 = (if isle then leftatt else rightatt) hand.RigidityEnabled = true hand.Name = which.."brg" if isle then leftbodypos=hand else rightbodypos=hand end elseif which=="si"and not cubern then local size=args[2] sizer=size local saiz=Vector3.new(.5,.5,.5)*size eye.Mesh.Scale=Vector3.new(.5,0.3,.7)*size eye1.Mesh.Scale=eye.Mesh.Scale eye.Weld.C0 = CFrame.new(.75*size,0.35*size,0) * CFrame.Angles(0,1.57,1.57) eye1.Weld.C0 = CFrame.new(.75*size,-0.35*size,0) * CFrame.Angles(0,1.57,1.57) main.Size = Vector3.new(1.5,1.5,1.5)*size mesh.Scale = Vector3.new((-main.Size.X*2)-.3,(-main.Size.Y*2)-.3,(-main.Size.Z*2)-.3) armleft.Size = saiz bil.StudsOffsetWorldSpace=Vector3.new(0,3*size) chatbil.StudsOffsetWorldSpace=Vector3.new(0,2*size) bil.Size=UDim2.fromScale(6*size,1.25*size) chatbil.Size=UDim2.fromScale(6*size,1.25*size) armleft.pa.me.Scale = Vector3.new((-armleft.Size.X*2)-.15,(-armleft.Size.Y*2)-.15,(-armleft.Size.Z*2)-.15) armright.Size = saiz armright.pa.me.Scale = armleft.pa.me.Scale fakeleft1.Weld.C0=CFrame.new(1.75*size,1*size,0) fakeright1.Weld.C0=CFrame.new(-1.75*size,1*size,0) elseif which=="fa"then cubern=not cubern if deb then return end deb=true if cubern == true then posi.MaxForce = Vector3.new(0,0,0) tween:Create(eye.Mesh,ti,{Scale=Vector3.new(.5,.3,.07)*sizer}):Play() local tweene=tween:Create(eye1.Mesh,ti,{Scale=Vector3.new(.5,.3,.07)*sizer}) tweene:Play() gyr.Parent = nil main.CanCollide = true deb = false else gyr.Parent = main posi.MaxForce = Vector3.new(4e9,4e9,4e9) tween:Create(eye.Mesh,ti,{Scale=Vector3.new(.5,.3,.7)*sizer}):Play() local tweene=tween:Create(eye1.Mesh,ti,{Scale=Vector3.new(.5,.3,.7)*sizer}) tweene:Play() tweene.Completed:Wait() main.CanCollide = false deb = false end elseif which=="hi"then text.Visible=not text.Visible end end)